package com.wondertek.service.sdk.iotdh.dto.req.arcConfig;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/24 15:18
 */
@Data
public class SIA_DC09 {

    @Schema(name = "account", description = "接警中心账号", required = true)
    private String account;

    @Schema(name = "encryption", description = "加密方式；同接警中心；不需要加密时填None； “None”: 不加密 ；“AES128”: AES128加密", required = true)
    private String encryption="None";

    @Schema(name = "key", description = "密钥；同接警中心，当encryption不为None时不能为空", required = false)
    private String key;

    @Schema(name = "eventVerification", description = "视频复核使能；默认为false，true【开启】则支持上报图片/视频url，url有效期7天", required = false)
    private boolean eventVerification;

//    @Schema(name = "reportEvents", description = "上报事件类型；默认全部上报；“AlarmEvents”：报警事件；“SystemEvents”：故障事件；“OperationEvents”：操作事件；“ArmModeEvents”：布撤防", required = false)
//    private String[] reportEvents;

    @Schema(name = "heart", description = "心跳周期；默认60s；单位：秒；范围：0~24h；0表示禁用心跳", required = false)
    private Integer heart;
//
//    @Schema(name = "reportEvents", description = "重传期限，发送失败的消息保留超过此期限则不再重传；默认：0-永久；单位：分钟", required = false)
//    private Integer reportEvents;

    @Schema(name = "retransmissionDeadline", description = "重传期限，发送失败的消息保留超过此期限则不再重传；默认：0-永久；单位：分钟", required = false)
    private Integer retransmissionDeadline;

}
